<?php

namespace App\Http\Requests\Admin;

use App\Http\Requests\Admin\Request;

class GoodsRequest extends Request
{
    public function rules()
    {
        return [
            'img' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'img.required' => '图片不能为空',
        ];
    }
}
